package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.News;
import cn.wolfcode.trip.base.domain.NewsCommend;
import cn.wolfcode.trip.base.query.NewsCommendQueryObject;
import cn.wolfcode.trip.base.query.NewsQueryObject;
import java.util.List;

public interface NewsCommendMapper {
    int deleteByPrimaryKey(Long id);

    int insert(NewsCommend record);

    NewsCommend selectByPrimaryKey(Long id);

    List<NewsCommend> selectAll();

    int updateByPrimaryKey(NewsCommend record);

    List<NewsCommend> queryForList(NewsCommendQueryObject qo);
}